<!DOCTYPE html>
<html lang="zh">
<head>
	<title>标签 - PublicCMS</title>
	<meta name="keywords" content="标签"/>
	<meta name="description" content="标签"/>
	<#include "include_page/header.html"/>
</head>
<body>
<!--#include virtual="/include/nav.html"-->
<main>
	<div class="container bread">
		<a href="${getSitePath()}">首页</a>
	</div>
	<div class="container">
		<div class="data-list left-content">
			<h3>标签分类：
			<@_tagTypeList>
				<a href="?typeId=">全部</a> 
				<#list page.list as a>
					<a href="?typeId=${a.id}">${a.name}</a> 
				</#list>
			</@_tagTypeList>
			</h3>
			<p class="tags">
				标签：
			<@_tagList typeId=typeId>
				<#list page.list as a>
					<a href="?typeId=${(typeId?url)!}&id=${a.id}"><em>${a.name}</em></a> 
				</#list>
			</@_tagList>
			</p>
			<#if id?has_content>
			<@_contentTagList tagIds=id>
				<#include "ftl/meger.ftl"/>
				<#list page.list as a>
					<@meger 'contentIds' a.contentId/>
				</#list>
				<@_content ids=contentIds>
					<#list page.list as tag>
						<#assign a = map[tag.contentId?string]!/>
						<#if a?has_content>
							<#include "include_page/data-list.html"/>
						</#if>
					</#list>
				</@_content>
				
			</@_contentTagList>
			</#if>
		</div>
		<aside>
			<!--#include virtual="/include/category/list.html/1.html"--><#-- 右侧编辑推荐 -->
		</aside>
	</div>
</main>
<#include "include_page/footer.html"/>
</body>
</html>